Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / RadialGradientBrush Class / Create Method / Create(RenderTarget,RadialGradientBrushProperties,Nullable<BrushProperties>,GradientStopCollection) Method
an instance of RenderTarget
The center, gradient origin offset, and x-radius and y-radius of the brush's gradient.
The transform and base opacity of the new brush, or NULL. If this value is NULL, the brush defaults to a base opacity of 1.0f and the identity matrix as its transformation.
A collection of GradientStop structures that describe the colors in the brush's gradient and their locations along the gradient.

In This Topic
    Create(RenderTarget,RadialGradientBrushProperties,Nullable<BrushProperties>,GradientStopCollection) Method
    In This Topic
    Creates an RadialGradientBrush that contains the specified gradient stops and has the specified transform and base opacity.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal renderTarget As RenderTarget, _
       ByRef radialGradientBrushProperties As RadialGradientBrushProperties, _
       ByVal brushProperties As System.Nullable(Of BrushProperties), _
       ByVal gradientStopCollection As GradientStopCollection _
    ) As RadialGradientBrush

    Parameters

    renderTarget
    an instance of RenderTarget
    radialGradientBrushProperties
    The center, gradient origin offset, and x-radius and y-radius of the brush's gradient.
    brushProperties
    The transform and base opacity of the new brush, or NULL. If this value is NULL, the brush defaults to a base opacity of 1.0f and the identity matrix as its transformation.
    gradientStopCollection
    A collection of GradientStop structures that describe the colors in the brush's gradient and their locations along the gradient.
    See Also